//
//  RBGRangeViewController.h
//  BateauGenerique
//
//  Created by Florent Champigny on 09/06/2014.
//  Copyright (c) 2014 Kevin De Jesus Ferreira. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NMRangeSlider.h"

@protocol RBGRangeDelegate

@required

- (void) receiveDonneesRBGRange:(NSString *)minValue
                   andNomModele:(NSString *)maxValue;

@end

@interface RBGRangeViewController : UIViewController


@property (weak, nonatomic) IBOutlet NMRangeSlider *range;

- (IBAction)rangeValueChanged:(id)sender;
@property (weak, nonatomic) IBOutlet UIView *popup;
- (IBAction)valider:(id)sender;
- (IBAction)annuler:(id)sender;

@property (nonatomic,strong) id delegate;
@property (nonatomic,strong) UIViewController * controllerEnregistree;

@property (weak, nonatomic) IBOutlet UIView *viewHaut;
@property (weak, nonatomic) IBOutlet UIView *viewHautButtons;
@property (weak, nonatomic) IBOutlet UIView *separatorButtons;
@property (weak, nonatomic) IBOutlet UIView *fondView;

- (IBAction)cancelVie:(id)sender;


// Attribut de la pop up
@property (weak, nonatomic) IBOutlet UILabel *textPopUp;
@property (weak, nonatomic) IBOutlet UILabel *labelMin;
@property (weak, nonatomic) IBOutlet UILabel *labelMax;
@property (assign,nonatomic) float alphaFond;
@property (assign,nonatomic) bool cancelable ;

@property (strong,nonatomic) NSString *titrePopUp;


@end
